import { UserResponse } from '@interface'
export interface LoadingState {
  open: boolean
}

export interface UserState {
  // 用户是否已登陆
  exist: boolean
  // 用户详情信息
  userInfo: UserResponse | null
}

export interface AsideState {
  asideList: {
    pid: number | null
    id: number
    index: string
    disabled: boolean
    name: string
    path: string
    children?: AsideState['asideList']
  }[]
}
